package com.camunda.workflow.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.camunda.workflow.domain.entity.SysUser;
import com.camunda.workflow.domain.req.SysUserReq;
import com.camunda.workflow.domain.resp.SysUserResp;

import java.util.List;

public interface SysUserService extends IService<SysUser> {
    SysUserResp getByUsername(String username);

    SysUserResp getById(String id);

    boolean resetPasswd(String id, String password);

    Page<SysUserResp> getPage(SysUserReq req);

    List<SysUserResp> getList(SysUserReq req);

    boolean saveAndEdit(SysUserReq req);


    boolean deleteByIds(List<String> ids);

}
